package com.itheima006;

public abstract class Bean{

    public abstract void say();

    private int age;
    private String name;

    public Bean(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public Bean() {
    }
}

